#/meshes/default/dataplanes/dp-1/_rules 200
type: Dataplane
name: dp-1
mesh: default
networking:
  address: 127.0.0.1
  inbound:
    - port: 8080
      tags:
        kuma.io/service: foo
---
type: MeshTimeout
name: default
mesh: default
spec:
  targetRef:
    kind: Mesh
  to:
  - targetRef:
      kind: Mesh
    default:
      idleTimeout: 20s
      connectionTimeout: 2s
      http:
        requestTimeout: 10s
  from:
    - targetRef:
        kind: Mesh
      default:
        idleTimeout: 20s
        connectionTimeout: 2s
        http:
          requestTimeout: 5s
---
type: MeshTimeout
name: override
mesh: default
spec:
  targetRef:
    kind: MeshService
    name: foo
  to:
    - targetRef:
        kind: MeshService
        name: foo
      default:
        http:
          requestTimeout: 15s
    - targetRef:
        kind: MeshService
        name: bar
      default:
        http:
          requestTimeout: 20s
  from:
    - targetRef:
        kind: Mesh
      default:
        connectionTimeout: 20s
